Import('RTT_ROOT')
Import('rtconfig')
from building import *

cwd = GetCurrentDir()
src = []

CPPPATH = [cwd + '/lib', cwd + '/module']

src += Glob('lib/io/*.cpp')
src += Glob('lib/*.cpp')
src += Glob('module/*.cpp')

if GetDepend('NXMFC_EXAMPLE_FC4_ENABLE'):
    src += Glob('example/fc4/*.cpp')

group = DefineGroup('NXM-FC', src, depend = ['PKG_USING_NXMFC'], CPPPATH = CPPPATH)

Return('group')
